package com.leador.module.response.fence;

import java.util.List;

/**
 * 报警返回数据
 */
public class MonitoredPersonAlarms {
    private String monitored_person;


    private int alarm_size;


    private List<Alarms> alarms ;

    /**
     * 返回被监控对象的entity_name
     * @param monitored_person
     */
    public void setMonitored_person(String monitored_person){

        this.monitored_person = monitored_person;

    }

    /**
     * 设置被监控对象的entity_name
     * @return
     */
    public String getMonitored_person(){

        return this.monitored_person;

    }

    /**
     * 设置报警列表大小
     * @param alarm_size
     */
    public void setAlarm_size(int alarm_size){

        this.alarm_size = alarm_size;

    }

    /**
     * 获取报警列表大小
     * @return
     */
    public int getAlarm_size(){

        return this.alarm_size;

    }

    /**
     * 设置报警列表
     * @param alarms
     */
    public void setAlarms(List<Alarms> alarms){

        this.alarms = alarms;

    }

    /**
     * 获取报警列表
     * @return
     */
    public List<Alarms> getAlarms(){

        return this.alarms;

    }

    @Override
    public String toString() {
        return "Monitored_person_alarms{" +
                "monitored_person='" + monitored_person + '\'' +
                ", alarm_size=" + alarm_size +
                ", alarms=" + alarms +
                '}';
    }
}
